home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 23 / Amiga Format AFCD23 (Feb 1998, Issue 107).iso / -seriously_amiga- / shareware / graphics / subtitlerdemo / subtitler.doc < prev    next >
Text File  |  1997-12-06  |  19KB  |  461 lines

  1. ------------------------------------------
  2.     SubTitler - Demo Release v2.17
  3.       (c) 1996-1997 Ott M. Aaloe
  4.      Release date 30. November 1997
  5. ------------------------------------------
  6.  
  7. This document tries to explain in brief all functions and features of the
  8. SubTitler. In order to understand it all you should at lease have some
  9. basic knowledge of the Amiga and video work.
  10.  
  11. In this doc you will find a term 'VTR Mode' - this means the mode where
  12. Time Code is read from RS-232 (i.e. from VTR).
  13.  
  14. For quick start, you could load the demo subtitle file that came with
  15. SubTitler and play it back with Player mode to get the basic idea of
  16. what the SubTitler is, and what it is not capable of. 
  17.  
  18. NB! Some parts of the SubTitler (especially Displayer mode and functions
  19. connected with external Time Code) won't work exactly like described here.
  20. For example, in Player mode, if VTR mode is used, normally subtitles are
  21. synced to the external timecode (and also this docs claims it) but due to
  22. fact that this IS a limited demo version syncing is not actually possible.
  23. So in other words all features described here work in full version but
  24. *may* not work with demo.
  25.  
  26.  
  27. 1. Installation and Setup
  28. 1.1. Connecting Amiga to VTR
  29.  
  30. Amiga is connected to the VTR with standard serial cable. Be sure to turn 
  31. the power off before you connect the devices to each other. There are two 
  32. different methods depending on the VTR you're using. The following table 
  33. illustrates cables for Sony and Panasonic.
  34.  
  35.       Amiga      Sony     Panasonic
  36.         1        1        1
  37.         2        3        2
  38.         3        2        3
  39. Pin #    4        N/C        4
  40.         5        N/C        5
  41.         6        20        6
  42.         20        6        N/C
  43.         7        7        7
  44.  
  45. As you can see, the main difference is that Sony uses flipped TXD/RXD
  46. and DSR/DTR. So you just have to be sure which cable you need, otherwise
  47. your Amiga won't receive any data from your VTR. 
  48.  
  49.  
  50. 1.2. Installing the SubTitler software
  51.  
  52. If you don't have Hard Disk, copy all files from archive to a disk
  53. and start SubTitler by just booting from it (NB! You should have 
  54. diskfont.library and reqtools library also on that disk). Otherwise you
  55. should install SubTitler to Hard Disk by running HDInstall script. 
  56. The installation procedure is quite simple. Just follow the onscreen 
  57. instructions (such as where and what to install).
  58.  
  59. 1.3. Setting up
  60.  
  61. Setup can be altered by opening a menu with the 'Right Mouse Button' 
  62. from the upper left corner of the screen and choosing your desired menu 
  63. item. As Setup is saved to SubTitler.info file there is also the 
  64. possibility to change the setup manually. To read more about manual 
  65. Setup editing and settings that can only be altered by editing 
  66. SubTitler.info file, refer to Chapter 1.3.5.
  67.  
  68. 1.3.1. Editor Setup
  69.  
  70. Work dir        Set the default directory for your subtitle files.
  71.  
  72. Backup dir         Set the default directory for your backup files.
  73.  
  74. Backup level    Set how many backups are made (0-5). Set 0 if 
  75.                 backups are not needed.
  76.  
  77. Editor warn     Lets you specify how many characters can be shown in one,
  78.                 single row. If you enter more symbols than defined here
  79.                 then the editor outputs red coloured symbols instead 
  80.                 standard black ones (to warn you that characters won't
  81.                 fit in row in displayer mode). 
  82.  
  83. 1.3.2. Displayer Setup
  84.  
  85. Show preview     If set, preview of the next page is shown during
  86.                 Recorder mode.
  87.  
  88. Show Time Code     If set, the current Time Code is shown during Recorder
  89.                 and Player mode.
  90.  
  91. Center titles    If set, all subtitles will be centered.
  92.  
  93. Screen Mode     Lets you choose screen mode and depth used in Displayer 
  94.                 mode. SubTitler is designed to run with PAL:Hi-Res Laced
  95.                 and PAL:Super-Hires Laced screen mode. I can't give any
  96.                 guarantee that other resolutions work properly.
  97.                 NB! Be sure to have enough free memory to use 
  98.                 'Super HiRes ' modes as they requires lots of free 
  99.                 Chip RAM.
  100.  
  101. Select Font     Set font for Displayer. Note that fonts that come with 
  102.                 SubTitler are grouped as Standard and Super Hires 
  103.                 (SH extension). So be sure you set the font according
  104.                 to your Displayer Screen mode.
  105.  
  106. Set Font Color    Set the color of the font. This setting will be ignored
  107.                 if color font is used.
  108.  
  109. Mask Type        Specify the type of Mask used underneath the subtitles. 
  110.                 Three modes are available:
  111.  
  112.                 Filled    :One color Mask is used.
  113.                 Raster1    :Raster 1 is used.
  114.                 Raster2    :Raster 2 is used.
  115.  
  116. Mask Color        Set the color of the Mask.
  117.  
  118. Mask Y Pos Fix    Normally the Y position of the Mask equals to the 
  119.                 Displayer font's Y cordinate. The actual Y position 
  120.                 can be corrected -20 to 20 pixels.
  121.  
  122. Mask Y Size Fix    By default the height of the Mask equals to the 
  123.                 Displayer font's height. Height of the mask can be 
  124.                 corrected -20 to 20 pixels.
  125.  
  126. Mask All        If set, all subtitles will have mask (filled or raster)
  127.                 underneath the actual text.
  128.  
  129.  
  130. 1.3.3. RS-232 Setup
  131.  
  132. Enable Parity Checking     If set parity checking is enabled.
  133.  
  134. Odd Parity                 If set, Odd Parity is used. Otherwise Even Parity
  135.                         is used.
  136.  
  137. Disable XON/XOFF         If set, XON/XOzFF is disabled.
  138.  
  139. Set Baud Rate             Set needed baud rate for serial (most devices work
  140.                         with 9600).
  141.  
  142. Default settings for Sony and Panasonic are shown in following table:
  143.  
  144. Menu Setting            Sony    Panasonic
  145. Enable Parity Checking    Set        Set
  146. Odd parity                Unset    Set
  147. Disable XON/XOFF        Unset    Set
  148. Baud Rate                9600    9600
  149.  
  150. NB! The only parameter you can't change within SubTitler program is
  151. the number of data bits. Sony uses 8 data bits while Panasonic uses 7. 
  152. You should run 'Sys:Prefs/Serial Preferences' to change this parameter.
  153.  
  154. 1.3.4. Time Code Setup
  155.  
  156. Available Time Code modes follow:
  157.  
  158. Simulated     Choose, if you don't need external Time Code.
  159. Sony UVW     For Sony Betacam VTR.
  160. Panasonic     For Panasonic SVHS VTR.
  161.  
  162. 1.3.5. Tool Types Overview
  163.  
  164. All SubTitler settings are saved to SubTitler.info file. To change 
  165. settings manually, go to WorkBench, click on the SubTitler Icon once
  166. and choose Icon > Information from WB's menu. NB! Settings marked 
  167. with (*) can be changed only by hand.
  168.  
  169. Overview of the Tool Types recognized by SubTitler:
  170.  
  171. TITLEDIR         = Default work directory.
  172. BACKUPDIR         = Backup directory.
  173. PALETTEFILE     = (*) Name of the file to load palette from. If file 
  174.                   cannot be loaded default palette is used.
  175. CENTREX         = Displayer's screen Center coordinate - all subtitle 
  176.                   centering is aligned to this coordinate.
  177. DISPLAYERFONT     = Name of the font for Displayer.
  178. DISPLAYERFONTSIZE = Displayer font size.
  179. LINEX             = X coordinate of the subtitles.
  180. LINEY             = Y coordinate of the first line.
  181. LINESPACE         = Space between lines in pixels.
  182. LINEUPY         = (*) Y coordinate of the first line if lineup 
  183.                   effect ([1]) is used.
  184. PREVIEWX=        = X coordinate of the Preview box in Displayer mode
  185. PREVIEWY=        = Y coordinate of the Preview box in Displayer mode
  186. SHOWPREVIEW     = TRUE / FALSE. Preview is shown in Displayer if set to TRUE.
  187. TIMECODEMODE     = 0 - simulated, 1 - Sony, 2 - Panasonic.
  188. EDITWARNING     = Number of visible characters in row.
  189. BACKUPLEVEL     = number of backup levels.
  190. CENTRETITLES     = TRUE / FALSE. All subtitles are centered if set to TRUE.
  191. SERIALBAUD         = Baud rate for serial port.
  192. SERIALFLAGS     = Settings for serial port.
  193. PICTUREDIR         = (*) Default graphics directory.
  194. CLOSEWB         = TRUE / FALSE. If set to TRUE SubTitler tries to 
  195.                   Close WorkBench (too get more free memory).
  196. DMODE            = Displayer mode DisplayID.
  197. DDEPTH            = Displayer mode depth.
  198. DSCREENX        = Displayer mode Screen's width.
  199. DSCREENY        = Displayer mode Screen's.
  200. DOVERSCAN        = Displayer mode Overscan Bit.
  201. DPENCOLOR        = Displayer mode subtitle output color.
  202. DMASKTYPE        = Mask type to use in Displayer mode.
  203. DMASKYPOS        = Mask Y position fix (-20 to +20).
  204. DMASKYSIZE        = Mask Y size fix (-20 to +20).
  205. MASKALL            = If set to TRUE mask is used under.
  206.  
  207.  
  208. 2. Using SubTitler
  209. 2.1. Editor
  210.  
  211. Text editing part consists of three fields. The middle one is the editable
  212. area, above and beneath it are preview sections. To edit the text, click
  213. to the middle area. Each page can have max three lines. Cursor can be moved 
  214. around with the arrow keys or by clicking to your desired location. 
  215. Pages can be scrolled up or down by clicking onto the upper or lower 
  216. preview area of the editor, using slider gadget on the right of the 
  217. editor area or using up and down arrow keys. Special effects can be 
  218. achieved using special in-text commands:
  219.  
  220. [1]    Line is output to upper are of the screen
  221. [2]    Starts Italic text.
  222. [3]    Stops Italic text.
  223. [4]    Line is centered.
  224. [5]    Picture is loaded for background.
  225. [6]    Line has Mask underneath normal text.
  226.  
  227. To understand the in-text commands better study the demo subtitle 
  228. file that comes with SubTitler. Note that the 'Line - up' 
  229. effect ([1]) can be added by simply activating the gadget at the 
  230. beginning of the line.'Mask' effect can be added by activating the 
  231. gadget at the end of the line.
  232.  
  233. You can add subtitles to the page even if effect [5] is used (i.e.:
  234. a picture is loaded for background). Obviously, the picture's palette
  235. is used so you just have to be sure that picture's and font's palette
  236. match. Also note that the effects [2] and [3] (italic text start/end)
  237. can be anywhere in text while effects like [1], [4] and [5] must be at
  238. the beginning of the line, effect [1] being the leftmost. So if the text
  239. has to be up and centered then just start the line with '[1][4]' and
  240. after the effects add the text itself. Effect [6] (Mask) has to be at
  241. the end of the line.
  242. The printing of the subtitles in Displayer is adjusted in a way that
  243. that lowest line is always filled. So even if you enter text to the
  244. line 1 and 2 it will be output to the place of line 2 and 3.
  245.  
  246.  
  247. 2.1.1. Gadgets overview
  248.  
  249. Load File
  250.     Loads subtitles from disk. After the subtitles have been loaded,
  251.     SubTitler also tries to load the Time Code. Time Code file have
  252.     the same name as subtitles but has ".tc" extension. By default,
  253.     the file requester won't show Time Code files but if you want to
  254.     see them you can always edit the pattern field of the file requester.
  255.     After file is loaded, it will be processed. Lines will be spread to
  256.     different pages and all ASCII characters will be remapped if needed.
  257.     Please note that the characters are remapped only once - in case 
  258.     subtitles were not edited with SubTitler's editor (this is assumed
  259.     by missing Time Code file) and ONLY if file has 'txt' extension.
  260.     After you save file, remapped characters are saved and also a Time
  261.     Code file is saved (even if you haven't recorded any). So if the Time
  262.     Code file is available, this means characters are already remapped 
  263.     and further remapping is not done.
  264.     ASCII remapping is needed to make MS-DOS text files compatible with
  265.     SubTitler and only once, because otherwise there may be conflict 
  266.     between certain characters.
  267.     So if you need to import files from PC then make sure you use 'txt'
  268.     extension. 
  269.     Keyboard shortcut: L
  270.  
  271. Save File
  272.     Save function is disabled in demo version.
  273.  
  274. Current page
  275.     Jumps directly to any page in memory. Enter the page number you wish
  276.     to go and press Enter. 
  277.     Keyboard shortcut: C
  278.  
  279. Start Player
  280.     Starts the Displayer in Player mode. More about Player mode in
  281.     Chapter 2.3.2.
  282.     Keyboard shortcut: P
  283.  
  284. Start Recorder
  285.     Starts the Displayer in Recorder mode. More about Recorder in
  286.     Chapter 2.3.1.
  287.     Keyboard shortcut: R
  288.  
  289. Time Code I / O
  290.     Refer to Chapter 2.2.
  291.     Keyboard shortcut: I, O
  292.  
  293. VTR controls
  294.     With VTR control keys you can command VTR to Rewind, Play, Fast
  295.     Forward, Stop and Pause.
  296.     Keyboard shortcuts: F6, F7, F8, F9 and F10
  297.  
  298. Tape Pre-Roll
  299.     This gadget makes the VTR to rewind tape 3 seconds before the
  300.     current 'In Time Code'. If the previous page's 'Out Time Code' is
  301.     less than 3 seconds before the current page's 'In Time Code' then
  302.     the tape will be 'pre rolled' to just after previous page's 
  303.     'Out Time Code'. Pre Roll helps to continue work if you must stop
  304.     during recording. An example: Something went wrong - you inserted
  305.     a subtitle a bit too early. Now exit the recorder (by hitting the
  306.     Escape key). Choose the page that got shown too early, press the 
  307.     'Pre Roll' gadget (tape will be rewound 3 seconds) and lastly press
  308.     the Recorder gadget to return to the Recorder again. The tape starts
  309.     to play and you will be about 3 seconds away from the place you made
  310.     the mistake. Note! If Simulated Time Code mode is used then instead
  311.     of Tape rolling, internally generated Time Code will be set to 3 
  312.     seconds before the current 'In Time Code'.
  313.     Keyboard shortcut: T
  314.  
  315. Test TC to end
  316.     Tests Time Code accuracy from current page to the end. If an error 
  317.     situation occurs during the test, the editor will jump to the page
  318.     error was in, and a warning message is displayed. So to be sure 
  319.     everything is ok, test your subtitles before the air/final recording.
  320.     Keyboard shortcut: E
  321.  
  322. Insert Page
  323.     Inserts an empty page before the current page. Empty page will become 
  324.     active and current one moved down. 
  325.  
  326. Delete Page
  327.     Erases current page from memory.
  328.  
  329. Picture
  330.     Adds picture to the current page. 
  331.  
  332. Search
  333.     Searches for string entered to upper string gadget.
  334.     Keyboard shortcut: A
  335.  
  336. Replace
  337.     Searches for string entered to 'Upper string gadget' and if found 
  338.     waits user's confirm to replace it with string entered to 'Lower 
  339.     string gadget'.
  340.  
  341. Search / Replace
  342.     The cycle gadget selects the Replace mode. If 'Search' is selected 
  343.     replace mode searches for single matches and waits for confirm to 
  344.     replace or search next. If 'Replace All' is selected all 'found' 
  345.     matches will be replaced.
  346.  
  347. 2.2. Time Code
  348.  
  349. As mentioned earlier, if 'VTR Mode' is not used the Time Code is 
  350. simulated by your computer. Otherwise, the Time Code is read from VTR.
  351. Time Code gadgets in Editor are grouped as In and Out. 'In Time Code'
  352. represents the time after what showing of the current page is started 
  353. and 'Out Time Code' is the time current page showing is ended (clear 
  354. page is shown). If you edit the Time Code manually then use Enter key 
  355. to move to the next Time Code field. If 'Show Time Code' is set from 
  356. Settings menu then current Time Code is displayed during Recorder and 
  357. Player mode. The displayed Time Code may stop for a moment or flicker 
  358. during the page swapping. This is normal as the next page is generated 
  359. in background and at this moment no Time Code is output (internally the 
  360. Time Code counts normally). So this is like indicator showing that the 
  361. next page is ready to show. Useful if pictures are loaded for background 
  362. as this takes a bit time. For technical reasons the Time Code is not 
  363. shown on pages where the background picture is used with effect [5].
  364.  
  365. Functions selectable from Time Code menu:
  366.  
  367. Time shift        Enables shifting Time Code n seconds (+ or -).
  368. Reset            Sets the internally generated Time Code to zero. 
  369.                 Not needed if 'VTR Mode' is used.
  370. Clear current    Resets current page's Time Code to zero.
  371. Clear all        Resets Time Code for all pages.
  372. Load            Let's you load Time Code from file (form backup 
  373.                 file for example).
  374.  
  375. At the moment SubTitler can't handle negative Time Code. It will be 
  376. added in the future versions if there is demand for this feature. 
  377. So be sure you reset the VTR's counter (SVHS) or set the VTR's Time 
  378. Code mode to TC (SONY) before you start the recording/playback.
  379.  
  380. 2.3. Displayer
  381.  
  382. Displayer part handles the actual subtitle showing in SubTitler. 
  383. To exit back to Editor mode press 'Escape' key or click the left 
  384. mouse button. Displayer can be started in two modes:
  385.  
  386. 2.3.1. Recorder
  387.  
  388. In Recorder mode the actual Time Code is recorded to pages. If 
  389. 'VTR Mode' is used then the 'Play' command will be sent to VTR and 
  390. Time Code is read from VTR, otherwise Time Code is generated 
  391. internally. The following keys control subtitle appearing in Recorder 
  392. mode:
  393.  
  394. Space        Pressing space will display subtitles in current page. 
  395.             Hold down 'Space' as long as you need the current subtitle 
  396.             to be shown. After you release 'Space', an empty page will 
  397.             be shown. The next time you press 'Space' the next page 
  398.             will appear and so on.
  399.  
  400. VTR control    You can control the VTR like in Editor mode with F6, F7,
  401.             F8 and F9 keys.
  402.  
  403. Escape        Returns you to the Editor screen. If 'VTR Mode' is used 
  404.             then before returning to the Editor a 'Stop' command is 
  405.             sent to the VTR.
  406.  
  407. Keypad keys    Keypad arrow keys (numbers 4,8,6 and 2) change the position 
  408.             of the subtitles. Note that you must also hold down the 
  409.             'Space' key in order to change position. If you hold down 
  410.             'Space' and press the arrow keys then X and Y coordinate 
  411.             of the output tiles are changed. If also the 'Ctrl' key 
  412.             is held down then 'Up-Arrow' and 'Down-Arrow' keys change 
  413.             the line spacing, 'Left-Arrow' and 'Right-Arrow' keys 
  414.             change Center position. To align centering be sure to 
  415.             use 'Center' command in some of the lines otherwise you 
  416.             won't see changes. To change the upper line Y coordinate 
  417.             you should alter LINEUPY Tool Type (more about Tool Types 
  418.             in Chapter 2.3.5). If you want to store the subtitle 
  419.             position settings you made then just exit to Editor mode 
  420.             and select Save Setup menu at upper left corner of the 
  421.             screen. Do not try to change subtitle's position if you 
  422.             use background with effect [5]! To speed up the moving 
  423.             of the subtitles while setting coordinates, the movement 
  424.             updating is very jerky and leaves trails behind. So don't 
  425.             mind, just set the position and the next page is updated 
  426.             correctly with the new coordinates.
  427.  
  428. [U]/[H] key    If you, during recording, notice that you want current page
  429.             to be displayed upper area of the screen or you need to have
  430.             mask underneath the text (original material, for example, 
  431.             has already some sort of titles at the same place you need
  432.             your subtitles to be displayed) then with [U] and [H] key it
  433.             is possible to add in-text commands in real time without 
  434.             exiting to the Editor mode. [U] is for effect [1] - line up
  435.             and [H] is for effect [6] - Mask. NB! Although you won't see
  436.             the actual changes, they still take place in background so
  437.             during the Recording only 'Ok!' text is displayed for you to
  438.             know the command has been acknowledged. [U] and [H] keys 
  439.             should be pressed same time you hold down the [Space] key.
  440.  
  441. 2.3.2. Player
  442.  
  443. In player mode SubTitler runs in slave mode. In other words; playback 
  444. of the subtitles takes place according to the current Time Code (read 
  445. either from VTR or generated by computer). If the current page's 'In 
  446. Time Code' matches the Actual Time Code then the page is shown. If 
  447. VTR mode is not used, the showing starts with an empty page and is 
  448. held until you click the left mouse button. After that first page 
  449. is shown and internal Time Code generation starts from current page's
  450. 'In Time Code'. In 'VTR Mode' Player waits for the VTR to be in Play 
  451. mode and after that, checks the Time Code from VTR. If needed, scans 
  452. through pages in memory to mach current Time Code. So if you, for 
  453. example, rewind the tape or search for certain part in the middle of 
  454. the Player mode then the Player is always in sync with current Time 
  455. Code. Until VTR is not in Play mode an empty page is shown. Normally 
  456. between pages an empty page is shown but in case the pause between 
  457. pages is less than 3 frames (0.12 seconds) the empty page will be 
  458. skipped and going over to the next page is instant. This is useful if 
  459. you display pictures on every page (slide show like) as change from 
  460. one page to the next takes place in one frame without any flickering.
  461.